package com.example.gomoku;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.view.View;
import androidx.annotation.Nullable;

public class Cheek extends View {
    public static Paint cheekPaint = new Paint();
    private Paint heartPaint = new Paint();

    public Cheek(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        //drawBorders(canvas);
    }

//    private void drawBorders(Canvas canvas) {
//        cheekPaint.setStrokeWidth(5);
//        cheekPaint.setStyle(Paint.Style.STROKE);
//        heartPaint.setAntiAlias(true);
//        heartPaint.setStrokeWidth(10);
//        heartPaint.setColor( Color.GREEN);
//        heartPaint.setStyle(Paint.Style.STROKE);
//        heartPaint.setAlpha(100 - MainActivity2.setAlpha);
//
//        RectF rectF0 = new RectF(21, 92, 1262, 1275);
//        canvas.drawRoundRect(rectF0, 25, 25, cheekPaint);
//
//        RectF rectF1 = new RectF(11, 72, 1282, 1835);
//        canvas.drawRoundRect(rectF1, 25, 25, cheekPaint);
//
//        RectF rectF2 = new RectF(81, 1125, 1280, 1536);
//        canvas.drawRoundRect(rectF2, 25, 25, cheekPaint);
//
//        RectF rectF3 = new RectF(81, 1350, 790, 1706);
//        canvas.drawRoundRect(rectF3, 25, 25, cheekPaint);
//
//        RectF rectF4 = new RectF(598, 1350, 1280, 1706);
//        canvas.drawRoundRect(rectF4, 25, 25, cheekPaint);
//
//        RectF rectF5 = new RectF(81, 1520, 1180, 1800);
//        canvas.drawRoundRect(rectF5, 25, 25, cheekPaint);
//    }
}